Errors
ApiError
Error class returned when the response status is not 2xx.
Attributes:
status— numeric error code.message— error message.code— error code.reason— error reason.details— error details.extra— additional information about the error. Class ErrorExtra.
Methods:
serialize— converts a class to JSON.
ErrorExtra
The class contains additional information about the error.
Attributes:
conflict_user_id— ID of the user that had a conflict.
ValidationError
The error is returned if the methods were called with incorrect parameters. Inherited from the general class Exception.